﻿namespace EOSCRM.Util
{
    #region For Logs

    public enum ELogAction
    {
        Insert = 1,
        Update = 2,
        Delete = 3
    }

    public enum ELogTable
    {
        UserAdmin = 1,
        Group = 2,
        MasterResource = 3,
        MasterProject = 4,
        ProjectProjection = 5,
        ResourceAllocation = 6
    }

    #endregion

    /// <summary>
    /// Enum Permission
    /// </summary>
    public enum Permission
    {
        Read = 1,
        Insert = 2,
        Update = 3,
        Delete = 4
    }

    /// <summary>
    /// Enum Functions
    /// </summary>
    public enum Functions
    {
        SYS_Group = 1,
        SYS_UserAdmin = 2,
        TK_LapChietTinh = 606,
        SC_LapChietTinhSuaChua = 506,
    }

    public enum EntityType
    {
        KhachHang = 1,
        CongViec = 2
    }

    public enum LogType
    {
        Insert = 1,
        Update = 2,
        Delete = 3
    }

    public enum DATEFORMAT
    {
        /// <summary>
        /// Date time format dd/mm/yy
        /// </summary>
        F_DDMMYY,
        /// <summary>
        /// Date time format dd/MM/yyyy
        /// </summary>
        F_DDMMYYYY,
        /// <summary>
        /// Date time format hh:mm
        /// </summary>
        F_HHMM,
        /// <summary>
        /// Date time format hh:mm:ss
        /// </summary>
        F_HHMMSS,
        /// <summary>
        /// Date time format mm/yy
        /// </summary>
        F_MMYY,
        /// <summary>
        /// Date time format MM/yyyy
        /// </summary>
        F_MMYYYY

    }

    public enum BINDDATA_STATE
    {
        CHOOSEDP = 1,
        CHOOSEKY = 2,
        CHOOSEDB = 3,
        INITFAILED = 4,
        DENIED = 5,
        SUCCEED = 6,
        LOCKED = 7,
        NOTINITED = 8
    }
}
